package com.itbbj.principle.d7_CRP.demo2;


public class B  {
    private A a = new A();
    public void methodB(){

        System.out.println("B类的methodB方法调用");
    }
    public void methodA(){
        a.methodA();
    }
}
